package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统列表字段自定义
 * </p>
 *
 * @author fei.zhang
 * @since 2023-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_field_list_show")
@ApiModel(value="FieldListShow对象", description="系统列表字段自定义")
public class FieldListShow extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "列表页")
    @TableField("list_code")
    private String listCode;

    @ApiModelProperty(value = "列表字段属性值")
    @TableField("field_code")
    private String fieldCode;

    @ApiModelProperty(value = "列表字段属性名")
    @TableField("field_name")
    private String fieldName;

    @ApiModelProperty(value = "列表字段排序")
    @TableField("field_sort")
    private Integer fieldSort;

    @ApiModelProperty(value = "展示状态：0 已选 1未选")
    @TableField("show_status")
    private Integer showStatus;

    @ApiModelProperty(value = "字段类型：0非必选 1必选 ")
    @TableField("field_type")
    private Integer fieldType;

    @ApiModelProperty(value = "企业编号")
    @TableField("sp_id")
    private String spId;

    @ApiModelProperty(value = "分类")
    @TableField("category")
    private String category;


}
